express js clear cookie

64

express js clear cookie -

res.clearCookie("key");

how to delete cookie node js -

cookies.set('testtoken', {expires: Date.now()});

Comments

Submit
0 Comments